package com.smb.api.analysis.controller;

import com.smb.api.analysis.feign.TestProvider;
import com.smb.common.vo.R;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author 高万里
 */
@RestController
@Api(tags = "成败在此一举！")
public class TestController {

    @Resource
    private TestProvider provider;

    @GetMapping("/api/test")
    public R test() {
        System.out.println("dfkalfdj");
        return provider.test();
    }
}
